package com.dragon.mmochat.model.statistics;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

//用户日报表
public class MmochatDailyUserStatistics {
	private String date; // 日期
	private int reg_num;// 当日新注册用户数
	private int login_num_of_yesterday_reg; // 昨天注册，今天登陆的用户数
	private int suggest_reg_num; // 当日填写了推荐人的注册用户数
	private int login_num;// 当日登陆用户数
	private int online_top;// 当日最高在线
	private int online_time_average;// 当日平均在线时长(单位：分钟)
	private int total_reg_num;// 截止当日，累计总注册用户数
	private int login_in_seven_day_role_num;// 截止当日，七天内登陆过的用户数
	Map<Long, Integer> online_map;// 在线分布 new Date().getTime()-->online

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getLogin_num_of_yesterday_reg() {
		return login_num_of_yesterday_reg;
	}

	public void setLogin_num_of_yesterday_reg(int loginNumOfYesterdayReg) {
		login_num_of_yesterday_reg = loginNumOfYesterdayReg;
	}

	public int getReg_num() {
		return reg_num;
	}

	public void setReg_num(int regNum) {
		reg_num = regNum;
	}

	public int getSuggest_reg_num() {
		return suggest_reg_num;
	}

	public void setSuggest_reg_num(int suggestRegNum) {
		suggest_reg_num = suggestRegNum;
	}

	public int getLogin_num() {
		return login_num;
	}

	public void setLogin_num(int loginNum) {
		login_num = loginNum;
	}

	public int getOnline_top() {
		return online_top;
	}

	public void setOnline_top(int onlineTop) {
		online_top = onlineTop;
	}

	public int getOnline_time_average() {
		return online_time_average;
	}

	public void setOnline_time_average(int onlineTimeAverage) {
		online_time_average = onlineTimeAverage;
	}

	public int getTotal_reg_num() {
		return total_reg_num;
	}

	public void setTotal_reg_num(int totalRegNum) {
		total_reg_num = totalRegNum;
	}

	public int getLogin_in_seven_day_role_num() {
		return login_in_seven_day_role_num;
	}

	public void setLogin_in_seven_day_role_num(int loginInSevenDayRoleNum) {
		login_in_seven_day_role_num = loginInSevenDayRoleNum;
	}

	public Map<Long, Integer> getOnline_map() {
		return online_map;
	}

	public void setOnline_map(Map<Long, Integer> onlineMap) {
		online_map = new ConcurrentHashMap<Long, Integer>(onlineMap);
	}
	
	

}
